package com.ruixun.shopmanagement.entity;

public class OrderItem2 {
	private String itemid; // uuid生成

	private Integer count; // 数量

	private Double subtotal; // 总金额
	private Product product; // 商品id
	private String pid; // 订单id
	private String oid; // 订单id

	public String getItemid() {
		return itemid;
	}

	public void setItemid(String itemid) {
		this.itemid = itemid;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Double getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(Double subtotal) {
		this.subtotal = subtotal;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public OrderItem2(String itemid, Integer count, Double subtotal, Product product, String pid, String oid) {
		super();
		this.itemid = itemid;
		this.count = count;
		this.subtotal = subtotal;
		this.product = product;
		this.pid = pid;
		this.oid = oid;
	}

	public OrderItem2() {
		super();
		// TODO Auto-generated constructor stub
	}

}